package com.edu.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

@FeignClient(value = "service-weather", url = "https://jisutqybmf.market.alicloudapi.com")
public interface WeatherFeignClient {
    @GetMapping("/weather/city")
    String getWeather(@RequestHeader("Authorization") String auth);
}
